/**
 *  (c)
 * <p>
 *
 * <p>
 *
 */

package com.nn.smart.bus.feign.fallback;

import com.nn.smart.bus.commons.tools.security.user.UserDetail;
import com.nn.smart.bus.commons.tools.utils.Result;
import com.nn.smart.bus.feign.ResourceFeignClient;
import org.springframework.stereotype.Component;

/**
 * 资源接口 Fallback
 *
 * @author nanning
 * @since 1.0.0
 */
@Component
public class ResourceFeignClientFallback implements ResourceFeignClient {

    @Override
    public Result<UserDetail> resource(String language, String token, String url, String method) {
        return new Result<UserDetail>().error();
    }
}
